<?php

class Application_Form_Login extends Zend_Form
{

    public function init()
    {
        /* Formulario del login */

        $userName = new Zend_Form_Element_Text('userName');
        $userName->setAttrib('placeholder','Nombre de Usuario');
        $userName->setAttribs(array('class' => 'input-block-level','placeholder' => 'Nombre de usuario'));

        $pass = new Zend_Form_Element_Password('password');
        $pass->setAttribs(array('class' => 'input-block-level','placeholder' => 'Contraseña'));
        

        $submit = new Zend_Form_Element_Submit('Ingresar');
        $submit->setAttrib('class','btn btn-primary');

        $this->addElements(array($userName,$pass,$submit));
    }


}

